//
//  AppDelegate.swift
//  CHTabbar
//
//  Created by cyptt on 2022/7/1.
//

import UIKit

@main
class AppDelegate: UIResponder, UIApplicationDelegate {


    var window: UIWindow?

    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        
//        let  = CHTabBarController.init(navClass: UINavigationController.self)
        
        let loginvc = LoginViewController()
        let rootVC = CHTabbarRootManage.initRoot(loginVC: loginvc, navClass: UINavigationController.self)
       
        
        self.window?.rootViewController = rootVC
        // Override point for customization after application launch.
        return true
    }

   


}

